<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head lang="en">
    <meta charset="utf-8"/>
    <title>网上订餐</title>
    <link th:href="@{/project/css/public.css}" rel="stylesheet"/>
    <link th:href="@{/project/css/mygxin.css}" rel="stylesheet"/>
</head>
<body>
<!------------------------------head------------------------------>
<div class="head ding" th:include="include::normal_headDiv2"></div>
<!------------------------------idea------------------------------>
<div class="address mt">
    <div class="wrapper clearfix">
        <a th:href="@{/index}" class="fl">首页</a>
        <span>/</span>
        <a class="on">收货地址</a>
    </div>
</div>
<!------------------------------Bott------------------------------>
<div class="Bott">
    <div class="wrapper clearfix">
        <div class="zuo fl" th:include="include::normal_left_menu"></div>
        <div class="you fl">
            <h2>收货地址</h2>
            <div class="add">
                <div class="fl">
                    <a href="javascript:openAddrAdd()"><img th:src="@{/img/jia.png}"/></a>
                    <span>添加新地址</span>
                </div>
                <div class="dizhi fl" th:each="addr,iterStat:${addrList}">
                    <p th:text="${addr.receiveUser}"></p>
                    <p th:text="${addr.receiveTel}"></p>
                    <p th:text="${addr.province+addr.city+addr.district}"></p>
                    <p th:text="${addr.receiveAddr}"></p>
                    <p class="addp">
                        <a href="javascript:void(0)" th:onclick="|editAddr(${addr.id})|" id="readd">修改</a>
                        <a th:href="@{/user/userAddress/remove(id=${addr.id})}">删除</a>
                    </p>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="footer" th:include="include::normal_footerDiv"></div>
<div th:include="include::footer_normal"></div>
<script th:src="@{/project/cart.js}"></script>
</body>
</html>
